<style>
	.ly-header{
		background-color: #fff;
		border:none;
		color: #3b3b3b;
		font-size: 14px;
	}
	.ly-header span{
		font-size: 12px;
	}
	.ly-cont{
		color: #999;
		font-size: 14px;
	}
	.ly-cont:after{
		border: none;
	}
	.ly-header .icon{
		float: right;
	}
	.ly-fen-time{
		margin: 0 auto;
		padding: 5px;
		line-height: 14px;
		display: inline-block;
		background-color: #ccc;
		color: #fff;
		border-radius: 5px;
	}
</style>
<ion-view>
	<ion-header-bar class="index_head">
		<button class="button button-icon icon ion-android-arrow-back" ng-click="$ionicGoBack()" style="color: #fff"></button>
		<div class="h1 title"> 店铺消息</div>
		<!--<button class="button button-clear button-positive zhuce_head_btn" style="color: #fff;font-size: 14px;" ng-click="comitdata()">完成</button>-->
	</ion-header-bar>
	<ion-content style='padding-top: 20px;'>
		<div class="text-center" ng-if="listType != 'zxgg' && listType != 'xitong' && listType!= 'shop'" ng-repeat-start="a in jytz_list"><div class="ly-fen-time">{{a.createDate || a.publicDate}}</div></div>
		<div ng-if="listType != 'zxgg' && listType != 'xitong' && listType!= 'shop'" class="card" ng-repeat-end ui-sref="product.xtzgdetail({id:a.productCode})">
			<div class="item item-divider ly-header">{{a.title || a.pName}}</div>
			<div class="item item-text-wrap ly-cont" ng-bind-html="a.content || a.pSubscriptionProgressInfo"></div>
			<div class="item item-divider ly-header">
				<span>产品详情</span>
				<i class="icon ion-ios-arrow-right icon-accessory"></i>
			</div>
		</div>

		<div class="text-center" ng-if="listType == 'zxgg'" ng-repeat-start="a in jytz_list"><div class="ly-fen-time">{{a.createDate || a.publicDate}}</div></div>
		<div ng-if="listType == 'zxgg'" class="card" ng-repeat-end ui-sref="inform.zxgg({id:a.id})">
			<div class="item item-divider ly-header" style="border-bottom: 1px #ddd solid;margin: 0">{{a.title || a.pName}}</div>
			<div class="item item-text-wrap ly-cont" style="border: none;margin: 0;height: 77px;overflow: hidden;" ng-bind-html="a.content || a.pSubscriptionProgressInfo"></div>
			<div class="item item-divider ly-header" style="border-top: 1px #ddd solid;margin: 0;margin-top: 15px;">
				<span>查看详情</span>
				<i class="icon ion-ios-arrow-right icon-accessory"></i>
			</div>
		</div>

		<div ng-if="listType == 'xitong'" ng-repeat="a in jytz_list">
			<div class="text-center" ><div class="ly-fen-time">{{a.updateDate}}</div></div>
			<div  class="card" ng-click="goUrlInfo(a.fpJpushRedrict)">
				<div class="item item-divider ly-header">{{a.fpJpushTitle}}</div>
				<div class="item item-text-wrap ly-cont" ng-bind-html="a.fpJpushContent"></div>
				<div class="item item-divider ly-header">
					<span>查看详情</span>
					<i class="icon ion-ios-arrow-right icon-accessory"></i>
				</div>
			</div>
		</div>
		<div ng-if="listType == 'shop'" ng-repeat="a in jytz_list">
			<div class="text-center" ><div class="ly-fen-time">{{a.updateDate}}</div></div>
			<div  class="card" ng-click="goUrlInfo(a.fpJpushRedrict)">
				<div class="item item-divider ly-header">{{a.fpJpushTitle}}</div>
				<div class="item item-text-wrap ly-cont" ng-bind-html="a.fpJpushContent"></div>
				<div class="item item-divider ly-header">
					<span>查看详情</span>
					<i class="icon ion-ios-arrow-right icon-accessory"></i>
				</div>
			</div>
		</div>


		<div class="text-center" ng-if="!isData"><div class="ly-fen-time">暂无数据</div></div>

	<ion-infinite-scroll ng-if="jytz_page.hasNaxtPage" on-infinite="loadMoreItems('{{listType}}')" spinner="ios-small">
    </ion-infinite-scroll>
	</ion-content>
</ion-view>